/**
 * All-right reserved by gglu\lqz\qq 2010-2020
 */
package com.injury.hunan.common;

import java.util.Collection;

import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Order;

/**
 * 请写上此类的主要功能
 * 
 * @author gglu
 * @version 2008年7月20日 下午10:55:11
 * 
 * 
 */
public class PageUtil<T> {

	private int total;

	private int start;

	private int limit;

	private Collection<T> results;

	private Criterion[] criterions;

	private Order[] orders;

	public Criterion[] getCriterions() {
		return criterions;
	}

	public void setCriterions(Criterion[] criterions) {
		this.criterions = criterions;
	}

	public Order[] getOrders() {
		return orders;
	}

	public void setOrders(Order[] orders) {
		this.orders = orders;
	}

	public void setResults(Collection<T> results) {
		this.results = results;
	}

	public Collection<T> getResults() {
		return results;
	}

	public int getTotal() {
		return total;
	}

	public void setTotal(int total) {
		this.total = total;
	}

	public int getStart() {
		return start;
	}

	public void setStart(int start) {
		this.start = start;
	}

	public int getLimit() {
		return limit;
	}

	public void setLimit(int limit) {
		this.limit = limit;
	}

}
